﻿@model ProggyFormsAuthenticationLogonViewModel
@{
    Layout = null;    
}
@using (Html.BeginForm())
{ 
    @Html.Raw(HttpUtility.HtmlDecode(Html.ValidationSummary(false).ToHtmlString()))
    @Html.HiddenFor(m=>m.ReturnUrl)
    <p>
        @Html.LabelFor(m => m.Username)
        @Html.TextBoxFor(m => m.Username, new { @class = "proggy-textbox proggy-textbox-wide" })
    </p>
    <p>
        @Html.LabelFor(m => m.Password)
        @Html.PasswordFor(m => m.Password, new { @class = "proggy-textbox proggy-textbox-wide" })
    </p>
    <p>
        @Html.LabelFor(m => m.KeepMeLoggedOn)
        @Html.CheckBoxFor(m => m.KeepMeLoggedOn, new { @class = "proggy-checkbox", data_checkboxon = "Yes", data_checkboxoff = "No" })
    </p>
    <p>
        <label>
            &nbsp;</label>
        <input type="submit" value="Go >>" class="proggy-button-go" />
    </p>
    <p>
        <label>
            &nbsp;</label>
        @Html.ActionLink("Click here if you have forgotten your logon details...", "Forgot")
    </p>
}
